<ul>
	{* menu homepage*}
    <li {if $strController == "index" && $strAction == "index"}class="act"{/if}>
    	<a href="{$smarty.const.HOST_BACKEND}"><h3>{$language.menu.homepage}</h3></a>
   	</li>
	{* Menu Category *}
    <li>
    	<a href="javascript:;"><h3>{$language.menu.category}</h3></a>
        <ul class="level-2">            
            {foreach key=key item=item from=$language.titlecat}
            	<li><a href="{$smarty.const.HOST_BACKEND}category?type={$key}">{$item}</a></li>
            {/foreach}
        </ul>
   	</li>
	{* Menu Club *}
	{if isset($smarty.session.admin)}
    <li {if $strController == "club" ||
    		$strController == "history" ||
            $strController == "sponsor" ||
			$strController == "stadium" ||
			$strController == "uniform" ||
            $strController == "image"
       	}class="act"{/if}>
    	<a href="javascript:;"><h3>{$language.menu.club}</h3></a>
        <ul class="level-2">
        	{if isset($smarty.session.admin)}
        		<li><a href="{$smarty.const.HOST_BACKEND}club"><h4>{$language.title.club}</h4></a></li>
                {if ($smarty.session.admin&1<<0) > 0}
                	<li><a href="{$smarty.const.HOST_BACKEND}club/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {/if}
            {/if}
           
        </ul>
  	</li>  
    {/if}
    
     {* menu  user *}
    {if isset($smarty.session.user)}
    <li {if $strController == "user" 
       	}class="act"{/if}>
    	<a href="javascript:;"><h3>{$language.menu.user}</h3></a>
        <ul class="level-2">
        	{if isset($smarty.session.user)}
        		<li><a href="{$smarty.const.HOST_BACKEND}user"><h4>{$language.title.user}</h4></a></li>
                {if ($smarty.session.user&1<<1) > 0}
                	<li><a href="{$smarty.const.HOST_BACKEND}user/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {/if}
            {/if}
        </ul>
  	</li>  
    {/if}
    
    {* menu  Thông Tin Cá Nhân *}
    {*if isset($smarty.session.user)*}
    <li {if $strController == "personal"|| 
       		$strController == "national"||
            $strController == "contract"||
            $strController == "title"||
            $strController == "position"||
            $strController == "playersquad"||
            $strController == "league"
       	}class="act"{/if}>
    	<a href="javascript:;"><h3>{$language.menu.personal}</h3></a>
        <ul class="level-2">
        	{*if isset($smarty.session.user)*}
        		<li><a href="{$smarty.const.HOST_BACKEND}personal"><h4>{$language.title.personal}</h4></a></li>
                {*if ($smarty.session.user&1<<1) > 0*}
                	<li><a href="{$smarty.const.HOST_BACKEND}personal/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {*/if*}
            {*/if*}
            {*if isset($smarty.session.user)*}
        		<li><a href="{$smarty.const.HOST_BACKEND}national"><h4>{$language.title.nationality}</h4></a></li>
                {*if ($smarty.session.user&1<<1) > 0*}
                	<li><a href="{$smarty.const.HOST_BACKEND}national/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {*/if*}
            {*/if*}
            {*if isset($smarty.session.user)*}
        		<li><a href="{$smarty.const.HOST_BACKEND}contract"><h4>{$language.title.contract}</h4></a></li>
                {*if ($smarty.session.user&1<<1) > 0*}
                	<li><a href="{$smarty.const.HOST_BACKEND}contract/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {*/if*}
            {*/if*}
            {*if isset($smarty.session.user)*}
        		<li><a href="{$smarty.const.HOST_BACKEND}title"><h4>{$language.title.title}</h4></a></li>
                {*if ($smarty.session.user&1<<1) > 0*}
                	<li><a href="{$smarty.const.HOST_BACKEND}title/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {*/if*}
            {*/if*}
            {*if isset($smarty.session.user)*}
        		<li><a href="{$smarty.const.HOST_BACKEND}position"><h4>{$language.title.position}</h4></a></li>
                {*if ($smarty.session.user&1<<1) > 0*}
                	<li><a href="{$smarty.const.HOST_BACKEND}position/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {*/if*}
            {*/if*}
            {*if isset($smarty.session.user)*}
        		<li><a href="{$smarty.const.HOST_BACKEND}playersquad"><h4>{$language.title.playersquad}</h4></a></li>
                {*if ($smarty.session.user&1<<1) > 0*}
                	<li><a href="{$smarty.const.HOST_BACKEND}playersquad/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {*/if*}
            {*/if*}
            {*if isset($smarty.session.user)*}
        		<li><a href="{$smarty.const.HOST_BACKEND}league"><h4>{$language.title.league}</h4></a></li>
                {*if ($smarty.session.user&1<<1) > 0*}
                	<li><a href="{$smarty.const.HOST_BACKEND}league/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {*/if*}
            {*/if*}
            
        </ul>
  	</li>  
    {*/if*}
    

				 	
	{* menu  system *}
    {if isset($smarty.session.admin)}
    <li {if $strController == "admin" ||
    		$strController == "section" ||
            $strController == "permission"
       	}class="act"{/if}>
    	<a href="javascript:;"><h3>{$language.menu.system}</h3></a>
        <ul class="level-2">
        	{if isset($smarty.session.admin)}
        		<li><a href="{$smarty.const.HOST_BACKEND}admin"><h4>{$language.title.admin}</h4></a></li>
                {if ($smarty.session.admin&1<<0) > 0}
                	<li><a href="{$smarty.const.HOST_BACKEND}admin/add"><h4>|-----{$language.ahref.add}</h4></a></li>
                {/if}
            {/if}
            {if $smarty.const.ROLE_ROOT == $AppUI->type}
            	<li><a href="{$smarty.const.HOST_BACKEND}section"><h4>{$language.title.section}</h4></a></li>
                <li><a href="{$smarty.const.HOST_BACKEND}section/add"><h4>|-----{$language.ahref.add}</h4></a></li>
            {/if}
            <li><a href="{$smarty.const.HOST_BACKEND}permission"><h4>{$language.title.permission}</h4></a></li>
        </ul>
  	</li>  
    {/if}
    {if isset($smarty.session.admin) && $smarty.const.ROLE_ROOT == $AppUI->type }
        <li {if $strController == "setting" 
           	}class="act"{/if}>
        	<a href="javascript:;"><h3>{$language.menu.setting}</h3></a>
            <ul class="level-2">            	
            		<li><a href="{$smarty.const.HOST_BACKEND}setting/locale"><h4>{$language.title.locale}</h4></a></li>                                    
            </ul>
    	</li>  
    {/if}
    
	
	
</ul>